var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function(req, res, next) {
    // req.session['accesstoken'] = '23323';
    // req.session['user'] = {
    //     'nickname': 'sorry510',
    //     'img': 'http://sorry510.cn/1.jpg',
    //     'openid': 'dadfmmmdmdmmdmd'
    // }
    res.render('index', { title: 'Express' });
});

module.exports = router;
